<?php
	include "db.php";
	//$name = $_GET['name'];
	$q = "select username from student";
	$rs = mysql_query($q);
	$result = "";
	if(($row=mysql_fetch_assoc($rs))!=NULL) $result = $result.$row['username'];
	while(($row=mysql_fetch_assoc($rs))!=NULL)
	{
		$result = $result.",".$row['username'];
	}
	echo $result;
?>
